#ifndef TEXT_FILE_SEARCHER_REG_EX_H
#define TEXT_FILE_SEARCHER_REG_EX_H

#include <wx/regex.h>
#include <wx/string.h>

#include "TextFileSearcher.h"

class TextFileSearcherRegEx : public TextFileSearcher {
  public:

    TextFileSearcherRegEx( const wxString& searchText, bool matchCase, bool matchWordBegin,
                           bool matchWord );



    virtual ~TextFileSearcherRegEx() {};


    virtual bool MatchLine( wxString line );


    virtual bool IsOk( wxString* pErrorMessage = NULL );

  protected:
    wxRegEx m_RegEx;
};

#endif
